package com.jichaoyun.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 *
 */
@TableName(value ="pipelossAlarm")
@Data
public class PipeLossAlarm implements Serializable {
    /**
     * 
     */
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * 
     */
    private Integer lineId;

    /**
     * 
     */
    private String lineName;

    /**
     * 
     */
    private LocalDateTime startTime;

    /**
     * 
     */
    private LocalDateTime endTime;

    /**
     */
    private Float lossValue;

    /**
     * 最大透支量
     */
    private Float lossRate;

    private Boolean isReadAdmin;

    @TableField(exist = false)
    private Integer continueTime;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}